function SelTabbar(content, index) {
  if (typeof content.getTabBar === 'function' &&
    content.getTabBar()) {
    content.getTabBar().setData({
      active_index: index
    })
  }
}
function ShowTabbar(content, index) {
  if (typeof content.getTabBar === 'function' &&
    content.getTabBar()) {
    content.getTabBar().setData({
      isshow: index
    })
  }
}
module.exports = {
  SelTabbar: SelTabbar,
  ShowTabbar: ShowTabbar,
}